import request from '@/axios'

//分页获取字典
export const pageApi = (data) => {
  return request.post({ url: '/dbms-server/base/areacode/page', data })
}

export const getTreeChildApi = (parentId: string) => {
  return request.put({ url: '/dbms-server/base/areacode/tree', data: { parentId } })
}
